package com.gzhu.knowledgeAdmin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzhu.knowledgeAdmin.entity.THmdT;
import com.gzhu.knowledgeAdmin.entity.TRwmxT;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TRwmxTMapper extends BaseMapper<TRwmxT> {

    List<TRwmxT> selectById(@Param("fRwid") Long fRwid);

    Integer updateDetail(@Param("tRwmxT") TRwmxT tRwmxT);

    void insertBatch(List<TRwmxT> dataList);

    Integer insertDetail(@Param("tRwmxT") TRwmxT tRwmxT);

    List<TRwmxT> chonghu(@Param("fRwid") Long fRwid);

    // 新增方法
    List<TRwmxT> selectAll();
}
